import request from "@/api/request.js";

export function getAudienceSetting(id) {
  return request({
    url: `/audience/setting/` + id,
    method: 'get'
  })
}

export function addAudienceSetting(data) {
  return request({
    url: '/audience/setting',
    method: 'post',
    data: data
  })
}


export function updateAudienceSetting(data) {
  return request({
    url: '/audience/setting',
    method: 'put',
    data: data
  })
}
